package cn.edu.xmu.wnw.dao;

// default package

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.WikiAttachment;

public interface WikiAttachmentDAO {

	public void initDao();

	public void save(WikiAttachment transientInstance);

	public void delete(WikiAttachment persistentInstance);

	public WikiAttachment findById(java.lang.Integer id);

	public List findByExample(WikiAttachment instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name);

	public List findByPath(Object path);

	public List findAll();

	public WikiAttachment merge(WikiAttachment detachedInstance);

	public void attachDirty(WikiAttachment instance);

	public void attachClean(WikiAttachment instance);

	public WikiAttachmentDAO getFromApplicationContext(ApplicationContext ctx);
}